package com.fanfan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fanfan.pojo.Role;
import com.fanfan.pojo.domain.ResponseResult;
import com.fanfan.pojo.vo.RoleDto;

import java.util.List;

/**
 * 角色信息表(Role)表服务接口
 *
 * @author fansea
 * @since 2023-02-24 14:05:35
 */
public interface RoleService extends IService<Role> {

     List<String> selectRoleKeyByUserId(Long useId);

    ResponseResult listRole(Integer pageNum, Integer pageSize, Role role);

    void addRole(RoleDto roleDto);

    ResponseResult showRole(Long id);

    ResponseResult updateRole(RoleDto roleDto);
}

